package P3.LaoZhang;

public class Employee {
    private String name;
    private Goable v=new ByLeg();
    public Employee(String name) {
        this.name=name;
    }

    public void go(Target target) {
        System.out.printf(name);
        v.go(target);
    }
}
